﻿using System.Collections.ObjectModel;

namespace MyToDo.Dtos
{
    public class SummaryDto : BaseDto
    {
        private int todoCount;
        private int sum;
        private int completedCount;
        private int memoCount;
        private string completedRatio;
        private ObservableCollection<ToDoDto> todolist=new ObservableCollection<ToDoDto>();
        private ObservableCollection<MemoDto> memolist=new ObservableCollection<MemoDto>();
        /// <summary>
        /// 待办事项总数
        /// </summary>
        public int Sum
        {
            get { return sum; }
            set { sum = value; OnPropertyChanged(); }
        }

        /// <summary>
        /// 完成代办事项总数
        /// </summary>
        public int CompletedCount
        {
            get { return completedCount; }
            set { completedCount = value; OnPropertyChanged(); }
        }


        /// <summary>
        /// 备忘录总数
        /// </summary>
        public int MemoCount
        {
            get { return memoCount; }
            set { memoCount = value; OnPropertyChanged(); }
        }


        /// <summary>
        /// 代办事项总数
        /// </summary>
        public int TodoCount
        {
            get { return todoCount; }
            set { todoCount = value; OnPropertyChanged(); }
        }

        /// <summary>
        /// 完成比例
        /// </summary>
        public string CompletedRatio
        {
            get { return completedRatio; }
            set { completedRatio = value; OnPropertyChanged(); }
        }


        /// <summary>
        /// 代办事项总数
        /// </summary>
        public ObservableCollection<ToDoDto> Todolist
        {
            get { return todolist; }
            set { todolist = value; OnPropertyChanged(); }
        }

        /// <summary>
        /// 备忘录列表
        /// </summary>
        public ObservableCollection<MemoDto> Memolist
        {
            get { return memolist; }
            set { memolist = value; OnPropertyChanged(); }
        }

    }
}
